Question #3 Create the pseudocode for a game application that contains an array of five (5) multiple-choice questions related to...
Question #3 Create the pseudocode for a game application that contains an array of five (5) multiple-choice questions related to your favorite hobby. Each question contains four answer choices – A…, B…, C…, D… (the …’s are your potential answers including the correct answer). All four (4) choices for each question should be stored in a parallel array. Also create another parallel array that holds the correct answer to each question—A, B, C, or D. NOTE: all arrays are single-dimension.
When a player starts (launches) this game app, pass each question to a method that displays the question and accepts the player’s answer (A, B, C, or D). If the player does not enter a valid (not necessarily a correct) answer choice, force the player to reenter the choice until the player enters a valid (might not be a correct answer) value of A, B, C or D. Return the player’s valid (but not necessarily correct) answer to the main program. After the player’s answer is returned to the main program, pass it and the correct answer to a method that determines whether the values are equal and displays an appropriate message. After the player answers all five questions, display the number of correct and incorrect answers that the player chose. Be sure to use the concepts of this chapter where appropriate – arguments/parameters, return values, void, etc.
11 years ago
20
Purchase the answer to view it

- hunain.txt
- Review the occurrences at Easter Island, and use this situation as a case study of poor stewardship that resulted in lack of sustainability. A discussion of Easter Island may be found in the Unit 5 Interactive Learning Materials area of the classroom.
- For Expert_Resersher
- FIN 370 (Finance For Business) Complete Course Week 1-5 A+ Graded
- Inventory Management Systems Due Week 2 and worth 100 points Your sister owns a small clothing store. During a conversation at a family dinner, she mentions her frustration with having to manually track and reorder high demand items. She would like an aut
- Which of these companies have the highest operating leverage?
- Unit 5 IP
- FIN 571 Week 4 quiz
- i need someone to help me with my calculus homework
- CGD 218 (Visual Litracy in Business) Complete Course Week 1-5 A+ Graded
- Management to Address Special Needs of Culturally Diverse Employees